package com.guodi.map.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @作者: 林楷
 * @日期: 2021/11/18
 * @描述: 我的地图
 */
@Data
@ApiModel(value="我的地图")
public class MapMyMap {

    @ApiModelProperty(value = "主键")
    private String id;
    @ApiModelProperty(value = "名称")
    private String name;
    @ApiModelProperty(value = "文件格式")
    private String suffix;
    @ApiModelProperty(value = "路径")
    private String path;
    @ApiModelProperty(value = "缩略图")
    private String thumbnail;
    @ApiModelProperty(value = "地图类型")
    private String mapType;
    @ApiModelProperty(value = "创建人")
    private String creator;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "修改人")
    private String modifier;
    @ApiModelProperty(value = "修改时间")
    private Date modifyTime;

    @TableField(exist = false)
    @ApiModelProperty(value = "地址")
    private String url;
}
